package com.smile.model.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class AddDroneRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "无人机名称不能为空")
    private String droneName;

    @NotBlank(message = "无人机品牌不能为空")
    private String droneBrand;

    @NotBlank(message = "无人机型号不能为空")
    private String droneModel;

    @NotBlank(message = "无人机序列号不能为空")
    private String droneSn;

    private String droneImageUrl ;


}
